//
//  RBGFiltreController.h
//  BateauGenerique
//
//  Created by Kevin De Jesus Ferreira on 31/05/2014.
//  Copyright (c) 2014 Kevin De Jesus Ferreira. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TransitionDelegate.h"

@protocol RBGFiltreDelegate

@required

- (void) receiveDonneesFiltre:(NSMutableDictionary *) donnees;


@end

@interface RBGFiltreController : UIViewController
@property (weak, nonatomic) IBOutlet UIImageView *fond;
@property (weak, nonatomic) IBOutlet UIView *attributBateau;
@property (weak, nonatomic) IBOutlet UIButton *cancel;
@property (weak, nonatomic) IBOutlet UIButton *search;
@property (weak, nonatomic) IBOutlet UIView *attributMoteur;
@property (weak, nonatomic) IBOutlet UIView *attributDivers;

@property(assign,nonatomic) int typeAnnonce;

// Button Action
- (IBAction)actionCancel:(id)sender;
- (IBAction)actionSearch:(id)sender;

- (IBAction)changeClearColor:(UIButton *)sender;
- (IBAction)changeColor:(UIButton *)sender;
- (IBAction)demanderValue:(UIButton *)sender;

// Value Bateau
@property (weak, nonatomic) IBOutlet UILabel *valueCategorie;
@property (weak, nonatomic) IBOutlet UILabel *valueEtat;
@property (weak, nonatomic) IBOutlet UILabel *valueRegion;
@property (weak, nonatomic) IBOutlet UILabel *valueLongueur;
@property (weak, nonatomic) IBOutlet UILabel *valueChantierModele;
@property (weak, nonatomic) IBOutlet UILabel *valuePrix;
@property (strong, nonatomic) IBOutlet UILabel *valueMarque;
@property (strong, nonatomic) IBOutlet UILabel *valuePuissance;

// Value moteur
@property (weak, nonatomic) IBOutlet UILabel *valueCategorieMoteur;
@property (weak, nonatomic) IBOutlet UILabel *valueMarqueMoteur;
@property (weak, nonatomic) IBOutlet UILabel *valuePuissanceMoteur;
@property (weak, nonatomic) IBOutlet UILabel *valueEtatMoteur;

@property (weak, nonatomic) IBOutlet UILabel *valueRegionMoteur;
@property (weak, nonatomic) IBOutlet UILabel *valuePrixMoteur;


// Value divers
@property (weak, nonatomic) IBOutlet UILabel *valueCategorieDivers;
@property (weak, nonatomic) IBOutlet UILabel *valueRegionDivers;
@property (weak, nonatomic) IBOutlet UILabel *valueDiversPrix;

@property (nonatomic, strong) TransitionDelegate *transitionController;

+ (float)minValue;
+ (float)maxValue;

@property (nonatomic,strong) id delegate;


@end
